package com.principle.mediator;

public class Client {
    public static void main(String[] args) {
        ConcreteMediator concreteMediator = new ConcreteMediator();
        TV tv = new TV(concreteMediator,"TV");
        Alarm alarm = new Alarm(concreteMediator,"Alarm");
        CoffeeMachine coffeeMachine = new CoffeeMachine(concreteMediator, "CoffeeMachine");
        concreteMediator.GetMessage(0,"Alarm");

    }
}
